| Conditions | 1 |
| Total Lines | 40 |
| Code Lines | 36 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | export class PlayerMinimal { |
||
| 30 | constructor({ |
||
| 31 | nameFirst, |
||
| 32 | nameLast, |
||
| 33 | shirtNr, |
||
| 34 | position, |
||
| 35 | dateJoin, |
||
| 36 | dateLeave, |
||
| 37 | dateBirth, |
||
| 38 | bodyText, |
||
| 39 | gamesPlayed, |
||
| 40 | cleanSheets, |
||
| 41 | goalsScored, |
||
| 42 | cardsYellow, |
||
| 43 | cardsRed, |
||
| 44 | imageSrc, |
||
| 45 | link, |
||
| 46 | teamName, |
||
| 47 | teamLink, |
||
| 48 | }) { |
||
| 49 | super({ |
||
| 50 | nameFirst, |
||
| 51 | nameLast, |
||
| 52 | shirtNr, |
||
| 53 | position, |
||
| 54 | gamesPlayed, |
||
| 55 | cleanSheets, |
||
| 56 | goalsScored, |
||
| 57 | cardsYellow, |
||
| 58 | cardsRed, |
||
| 59 | imageSrc, |
||
| 60 | link, |
||
| 61 | }) |
||
| 62 | |||
| 63 | this.bodyText = bodyText |
||
| 64 | this.dateJoin = dateJoin |
||
| 65 | this.dateLeave = dateLeave |
||
| 66 | this.dateBirth = dateBirth |
||
| 67 | this.teamName = teamName |
||
| 68 | this.teamLink = teamLink |
||
| 69 | } |
||
| 70 | } |
||
| 71 |